.dialog {
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  animation-name: opacityImg;
  animation-duration: 0.25s;

  &.hidden {
    opacity: 0;
    transition: all 0.25s;
    .box {
      // opacity: 0;
      // transform: scale(0.8);
      // transition: all 0.25s;
    }
  }
}

.box {
  width: 74vw;
  padding: 16px;
  border-radius: 10px;
  color: #1d2129;
  background-color: #fff;

  animation-name: opacityBox;
  animation-duration: 0.25s;
}

.close {
  margin-top: 40px;
}

@keyframes opacityBox {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes opacityImg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
